<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>客户拜访记录</title>
    <link rel="stylesheet" href="../../libs/bootstrap.min.css">
    <link rel="stylesheet" href="../../libs/thirdly/font-awesome.min.css">
    <link rel="stylesheet" href="../../libs/jqGrid/ui.jqgrid-bootstrap.css">
    <link rel="stylesheet" href="../../css/common.css">
    <link rel="stylesheet" href="../../css/CRM/CRM000202.css">

    <script src="../../libs/jquery.min.js"></script>
    <script src="../../libs/jquery-ui.js"></script>
    <script src="../../libs/laydate/laydate.js"></script>
    <script src="../../libs/jqGrid/grid.locale-cn.js"></script>
    <script src="../../libs/jqGrid/jquery.jqGrid.min.js"></script>

    <script src="../../js/config.js"></script>

</head>
<body>
<div class="m_wrapper">
    <aside class="u_menu_container">
        <!-- /component/me_Menu.html -->
    </aside>
    <section class="u_wrapper">
        <header>
            <div class="u_header">
                <h2>客户拜访记录</h2>
            </div>
        </header>
        <div class="u_content_wrapper">
            <div class="u_toolbar u_user">
                <ul class="u_toolgroup">
                    <li class="u_tool" data-opt="add">
                        <i class="fa fa-plus"></i>
                        <span>添加</span>
                    </li>
                    <li class="u_tool" data-opt="save">
                        <i class="fa fa-save"></i>
                        <span>保存</span>
                    </li>
                    <li class="u_tool" data-opt="back">
						<i class="fa fa-reply"></i>
                        <span>返回</span>
					</li>
                </ul>
            </div>
            <div class="u_contents clearfix">
                <div class="u_row">
                    <div class="u_col_6x">
                        <div class="u_block_content">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label class="data-label">单号</label>
                                    <div class="data-input">
                                        <input class="form-control" type="text" disabled placeholder="自动生成..." data-field="ItemDocEntry">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="data-label">单据日期</label>
                                    <div class="data-input">
                                        <input class="form-control" type="text" disabled placeholder="自动生成..." data-field="ItemDocDate">
                                    </div>
                                </div>
                                <!--<div class="form-group">
                                    <label class="data-label">单据状态</label>
                                    <div class="data-input">
                                        <input class="form-control" type="text" data-field="ItemDocStatus">
                                    </div>
                                </div>-->
                                <div class="form-group">
                                    <label class="data-label">开始日期</label>
                                    <div class="data-input">
                                        <input class="form-control" type="date" data-field="ItemStartDate">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="data-label">开始时间</label>
                                    <div class="data-input">
                                        <input class="form-control" type="time" data-field="ItemStartTime">
                                        <!--<input class="form-control laydate-icon" placeholder="请输入日期" data-field="ItemStartTime" onClick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})">-->
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="data-label">结束日期</label>
                                    <div class="data-input">
                                        <input class="form-control" type="date" data-field="ItemEndDate">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="data-label">结束时间</label>
                                    <div class="data-input">
                                        <input class="form-control" type="time" data-field="ItemEndTime">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="data-label">拜访内容</label>
                                    <div class="data-input">
                                        <textarea class="form-control" type="text" data-field="ItemRemark">
                                        </textarea>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="u_col_6x">
                        <div class="u_block_content">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label class="data-label">标题</label>
                                    <div class="data-input">
                                        <input class="form-control" type="text" data-field="ItemTitle">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="data-label">客户代码</label>
                                    <div class="data-input input-exp">
                                        <input class="form-control" type="text" data-field="ItemCardCode">
                                        <i class="fa fa-plus-circle"></i>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="data-label">客户名称</label>
                                    <div class="data-input input-exp">
                                        <input class="form-control" type="text" data-field="ItemCardName">
                                        <i class="fa fa-plus-circle"></i>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="data-label">联系人</label>
                                    <div class="data-input">
                                        <input class="form-control" type="text" data-field="ItemContacts">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="data-label">联系人电话</label>
                                    <div class="data-input">
                                        <input class="form-control" type="text" data-field="ItemPhone">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="data-label">拜访地址</label>
                                    <div class="data-input">
                                        <input class="form-control" type="text" data-field="ItemAddress">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="u_tabs_container">
                    <ul class="u_tabs clearfix">
                        <li class="u_tab u_tab_active" data-tab="CRM000202">参与人</li>
                        <li class="u_tab" data-tab="updaterecord">更新记录</li>
                    </ul>
                    <ul class="u_panes clearfix">
                        <li class="u_pane u_pane_active" data-tab="CRM000202">
                            <div class="u_row">
                                <div class="u_col_6x">
                                    <div class="u_block_content">
                                        <div class="u_btns">
                                            <a class="u_btn btn btn-info" id="BrandBtn">
                                                <i class="fa fa-plus"></i>
                                                添&nbsp;加
                                            </a>
                                        </div>
                                        <div class="u_table_container">
                                            <table id="jgTable02"></table>
                                            <div id="jgPager02"></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li class="u_pane" data-tab="updaterecord">
                            <div class="u_row">
                                <div class="u_col_6x">
                                    <div class="u_block_content">
                                        <div class="form-horizontal">
                                            <div class="form-group">
                                                <label class="data-label">创建时间</label>
                                                <div class="data-input">
                                                    <input class="form-control" type="text" disabled placeholder="自动生成..." id="createDate">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="data-label">更新时间</label>
                                                <div class="data-input">
                                                    <input class="form-control" type="text" disabled placeholder="自动生成..." id="updateDate">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="data-label">创建用户</label>
                                                    <div class="data-input">
                                                    <input class="form-control" type="text" disabled placeholder="自动生成..." id="createUser">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="data-label">更新用户</label>
                                                    <div class="data-input">
                                                    <input class="form-control" type="text" disabled placeholder="自动生成..." id="updateUser">
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
            <footer>
                <div class="u_footer">
                    <div class="u_btns">
                        <a href="javascript:0" class="u_btn btn btn-success" id="js_submit">
                            <i class="fa fa-save"></i>
                            提&nbsp;交
                        </a>
                    </div>
                </div>
            </footer>
        </div>
    </section>
</div>

<!-- 自定义模态框 -->
<div id="Modal02" class="modal-overlay hidden"> 
	<div class="modal-data">
        <i class="u_restore"></i>
        <!-- 头部 -->
        <div class="u_modal_header">
            <ul class="u_toolgroup u_search pull-left">
                <li class="u_tool" id="opt_search" data-opt="opt_search">
                    <input type="text" value="" placeholder="搜索">
                    <i class="fa fa-search"></i>
                </li>
            </ul>
            <ul class="list-inline pull-right">
                <li class="u_title u_minimize">
                    <i class="glyphicon glyphicon-minus"></i>
                </li>
                <li class="u_title u_close">
                    <i class="glyphicon glyphicon-remove"></i>
                </li>
            </ul>
        </div>
        <!-- 主体 -->
        <div class="u_modal_body">
            <div class="u_table_container">
                <table id="jgTable0m"><!-- jqgrid --></table>
                <div id="jgPager0m"></div>
            </div>
            <div class="u_footer pull-left">
                <button type="button" class="btn btn-success" id="addBtn">
                    <i class="fa fa-save"></i>
                    保存修改
                </button>
            </div>
        </div>
	</div>
</div>

<!-- 自定义模态框 -->
<div id="Modal0s" class="modal-overlay hidden"> 
	<div class="modal-data">
        <i class="u_restore"></i>
        <!-- 头部 -->
        <div class="u_modal_header">
            <ul class="u_toolgroup u_search pull-left">
                <li class="u_tool" id="opt_search" data-opt="opt_search">
                    <input type="text" value="" placeholder="搜索">
                    <i class="fa fa-search"></i>
                </li>
            </ul>
            <ul class="list-inline pull-right">
                <li class="u_title u_minimize">
                    <i class="glyphicon glyphicon-minus"></i>
                </li>
                <li class="u_title u_close">
                    <i class="glyphicon glyphicon-remove"></i>
                </li>
            </ul>
        </div>
        <!-- 主体 -->
        <div class="u_modal_body">
            <div class="u_table_container">
                <table id="jgTable0s"><!-- jqgrid --></table>
                <div id="jgPager0s"></div>
            </div>
            <div class="u_footer pull-left">
                <button type="button" class="btn btn-success" id="addBtn2">
                    <i class="fa fa-save"></i>
                    保存修改
                </button>
            </div>
        </div>
	</div>
</div>

<script src="../../js/publicTpl.js"></script>
<script src="../../js/common.js"></script>
<script src="../../js/publicGrid.js"></script>
<script src="../../js/CRM/CRM000202.js"></script>
</body>
</html>